diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-17 23:29:10 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-17 23:48:06 +0100 |
| commit | 50d37beeb51c95aaead8b3ef2c946189a066486e (patch) | |
| tree | 61b812d884251767e3ffd4a99d76968d680f9bd0 /src/pages/article/[slug].tsx | |
| parent | efed6c0a820c5c47e097fa29455157bbd318ffca (diff) | |
chore: create mutation to add a new comment on posts
Diffstat (limited to 'src/pages/article/[slug].tsx')
| -rw-r--r-- | src/pages/article/[slug].tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/article/[slug].tsx b/src/pages/article/[slug].tsx index df5ae51..55753c3 100644 --- a/src/pages/article/[slug].tsx +++ b/src/pages/article/[slug].tsx @@ -47,7 +47,7 @@ const SingleArticle: NextPageWithLayout<ArticleProps> = ({ post }) => { <h2>{t`Comments`}</h2> <CommentsList comments={comments} /> <h2>{t`Leave a comment`}</h2> - <CommentForm /> + <CommentForm articleId={post.databaseId} /> </section> </article> </> |
